rollsum: Fix assertion for CRC matches
authorColin Walters <walters@verbum.org>
Tue, 25 Aug 2015 13:26:22 +0000 (09:26 -0400)
committerColin Walters <walters@verbum.org>
Tue, 25 Aug 2015 13:26:22 +0000 (09:26 -0400)
commitb89326ac41f48f921e89717cf106a609a9e52190
tree64790939a95711fa5018500019c1011789e41b9a
parent9b9f4b04b4343b8ef5c8118475d9649ed7a7648b
rollsum: Fix assertion for CRC matches

It's possible for two blocks to have the same CRC but different
length.  Rather than asserting, treat them as not matching.
src/libostree/ostree-rollsum.c